package cqrtplm.service;



import com.ty.basic.entity.PrincipalEntity;
import cqrtplm.entity.RtZzdhDO;

import java.util.List;

public interface RtZzdhService {
    int save(RtZzdhDO record);
    int update(RtZzdhDO record);
    int delete(String id);
    RtZzdhDO getById(String id);
    List<RtZzdhDO> listAll();
    List<RtZzdhDO> listByGroup(String group);

    boolean hasPermission(String number, PrincipalEntity user);
}
